<?php $this->renderPartial('//layouts/parts/head'); ?>

		<div id="lt-content">
			<div class="sitebar-left">

                <?php if(!empty($this->searchedCategories)): ?>
                    <?php echo $this->widget('ext.menu.SearchLeftMenuWidget',array(
                                                                            'searchIds' => $this->searchedCategories,
                                                                            'selectIds' => $this->searchSelectCategories,
                                                                            'counts' => $this->aCategoriesCounts,
                                                                       )); ?>
                <?php endif; ?>

                <?php if($this->beginCache('left_menu'.$this->cacheId, array('duration' => 3600))) { ?>
					<?php echo $this->widget('ext.menu.LeftMenuWidget',array(
	//					                                                        'currentId' => $categoryId,
					                                                        'selectIds' => $this->selectCategories,
					                                                   )); ?>
				<?php $this->endCache(); } ?>
				<?php if(!empty($this->aCategories)): ?>
					<?php //if($this->beginCache('left_filters'.$this->cacheId, array('duration' => 3600))) { ?>
						<div id="filters">
							<?php echo $this->widget('ext.menu.LeftFilters',array(
							                                                     'aCategories'=>$this->aCategories,
							                                                     'aFilters' => $this->aFilters,
							                                                )); ?>
						</div>
					<?php //$this->endCache(); } ?>
				<?php endif; ?>
			</div>

			<div class="sitebar-content">
				<?php echo !empty($content) ? $content : ''; ?>
			</div>

			<div class="clear"></div>
		</div>


<?php $this->renderPartial('//layouts/parts/footer'); ?>

<script defer src="/js/app.js"></script>

</body>
</html>
